package com.yunxi.model.vehicle;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 生产车型
 * </p>
 *
 * @author caoYong
 * @since 2019-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("base_vehicle_product")
@ApiModel(value="VehicleProduct对象", description="生产车型")
public class VehicleProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "PRODUCT_ID", type = IdType.UUID)
    private String productId;

    @ApiModelProperty(value = "产品代码全部")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    @TableField("PRODUCT_NAME")
    private String productName;

    @ApiModelProperty(value = "品牌代码")
    @TableField("BRAND_CODE")
    private String brandCode;

    @ApiModelProperty(value = "车系代码")
    @TableField("SERIES_CODE")
    private String seriesCode;

    @ApiModelProperty(value = "车型代码")
    @TableField("MODEL_CODE")
    private String modelCode;

    @ApiModelProperty(value = "配置代码")
    @TableField("CATALOG_CODE")
    private String catalogCode;

    @ApiModelProperty(value = "内饰颜色")
    @TableField("COLOR_ID_IN")
    private String colorIdIn;

    @ApiModelProperty(value = "外饰颜色")
    @TableField("COLOR_ID_OUT")
    private String colorIdOut;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_time",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @Version
    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "是否发送")
    @TableField("IS_SEND")
    private Integer isSend;

    @ApiModelProperty(value = "15位码")
    private String vehicleCode;

    @ApiModelProperty(value = "电池包代码")
    private String batteryPackCode;

    @ApiModelProperty(value = "电池包名称")
    private String batteryPackName;

    @ApiModelProperty(value = "选装包code")
    private transient String customPackCodes;

    @ApiModelProperty(value = "选装包名称")
    private transient String customPackNames;

    @ApiModelProperty(value = "年份")
    private String year;
    @ApiModelProperty(value = "国家")
    private String country;
}
